import { App } from "vue";

import * as components from "@vue-ant-plus/components";
/**
 * 全局注册自定义组件
 * @param app
 */
export function setupCustomComponents(app: App) {
  Object.entries(components).forEach(([name, component]) => {
    app.component(name, component);
  });
}
